import request from "@/utils/request";
// 查询
export const storeLevel_ListAPI = (params) => {
  return request({
    url: "/base/manage/shopGrade/list",
    params,
  });
};
// 获取店铺等级详细信息
export const storeLevel_DetailsAPI = () => {
  return request({
    url: `/base/manage/shopGrade/getInfo/${id}`,
  });
};
//添加
export const storeLevel_AddAPI = (data) => {
  return request({
    url: "/base/manage/shopGrade/save",
    method: "post",
    data: data,
  });
};
// 修改
export const storeLevel_EditAPI = (data) => {
  return request({
    method: "put",
    url: "/base/manage/shopGrade/save",
    data: data,
  });
};
// 删除
export const storeLevel_DelAPI = (ids) => {
  return request({
    method: "delete",
    url: `/base/manage/shopGrade/del/${ids}`,
  });
};
// 导出
export const storeLevel_ExportAPI = (params) => {
  return request({
    url: "/base/manage/shopGrade/export",
    params,
  });
};
